package com.binguo.model.model;

import java.util.Date;

public class SideBoardCellDetail {
    private Integer id;

    private String orderId;

    private Date startTime;

    private Date endTime;

    private String cell;

    private Integer shopId;

    private Integer branchId;

    private Integer orderStatus;

    private String mealCode;

    private Integer sideBoardId;

    private Date createTime;

    private String phone;

    public SideBoardCellDetail() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCell() {
        return cell;
    }

    public void setCell(String cell) {
        this.cell = cell == null ? null : cell.trim();
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getBranchId() {
        return branchId;
    }

    public void setBranchId(Integer branchId) {
        this.branchId = branchId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getMealCode() {
        return mealCode;
    }

    public void setMealCode(String mealCode) {
        this.mealCode = mealCode == null ? null : mealCode.trim();
    }

    public Integer getSideBoardId() {
        return sideBoardId;
    }

    public void setSideBoardId(Integer sideBoardId) {
        this.sideBoardId = sideBoardId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public SideBoardCellDetail(Integer id,String orderId,Date startTime,Integer branchId,Integer shopId,String mealCode,String cell,Integer orderStatus,  Integer sideBoardId,String phone){
        this.branchId = branchId;
        this.startTime = startTime;
        this.orderId = orderId;
        this.id = id;
        this.shopId = shopId;
        this.mealCode = mealCode;
        this.cell = cell;
        this.orderStatus = orderStatus;
        this.sideBoardId = sideBoardId;
        this.createTime = new Date();
        this.phone = phone;
    }

    public void setParams(Integer id,Date startTime,Integer orderStatus){
        this.id = id;
        this.startTime = startTime;
        this.orderStatus = orderStatus;
    }
}